package com.jpcc.vw.onlineRadio.model.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "tb_recent_album_online")
public class RecentAlbumRadioTrackOnlineBean {

    @DatabaseField(generatedId = true)
    public int key_id;
    @DatabaseField(columnName = "userId")
    public long userId;
    /**
     * radio/album
     */
    @DatabaseField(columnName = "type")
    public String type;

    @DatabaseField(columnName = "albumId")
    public long albumId;

    @DatabaseField(columnName = "cover")
    public String cover;

    @DatabaseField(columnName = "albumName")
    public String albumName;

    @DatabaseField(columnName = "author")
    public String author;

    @DatabaseField(columnName = "trackId")
    public long trackId;

    @DatabaseField(columnName = "trackName")
    public String trackName;

    @DatabaseField(columnName = "canDownLoad")
    public boolean canDownLoad;

    @DatabaseField(columnName = "downloadUrl")
    public String downloadUrl;

    /**
     * fronm:favourite:0、Download:1、paied:2、History:3、Common:4
     */
    @DatabaseField(columnName = "from")
    public int from;

    @DatabaseField(columnName = "trackUrl")
    public String trackUrl;

    @DatabaseField(columnName = "isLive")
    public boolean isLive;

    @DatabaseField(columnName = "trackPageIndex")
    public int trackPageIndex;

    @DatabaseField(columnName = "duration")
    public int duration;

    @DatabaseField(columnName = "currentDuration")
    public int currentDuration;

    @DatabaseField(columnName = "timeStamp")
    public long timeStamp;



    @DatabaseField(columnName = "is_authorized")
    public boolean is_authorized;
    @DatabaseField(columnName = "is_paid")
    public boolean is_paid;
    @DatabaseField(columnName = "is_free")
    public boolean is_free;
    @DatabaseField(columnName = "is_vip_free")
    public boolean isVipFree;

    public boolean isVipFree() {
        return isVipFree;
    }

    public void setVipFree(boolean vipFree) {
        isVipFree = vipFree;
    }

    public boolean isIs_authorized() {
        return is_authorized;
    }

    public void setIs_authorized(boolean is_authorized) {
        this.is_authorized = is_authorized;
    }

    public boolean isIs_paid() {
        return is_paid;
    }

    public void setIs_paid(boolean is_paid) {
        this.is_paid = is_paid;
    }

    public boolean isIs_free() {
        return is_free;
    }

    public void setIs_free(boolean is_free) {
        this.is_free = is_free;
    }

    private String startTime;
    private String endTime;


    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    //status -1表示专辑中最后一个了 没找到下一个
    private int status;

    private String radioLivingUrl;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getAlbumId() {
        return albumId;
    }

    public void setAlbumId(long albumId) {
        this.albumId = albumId;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getAlbumName() {
        return albumName;
    }

    public void setAlbumName(String albumName) {
        this.albumName = albumName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public long getTrackId() {
        return trackId;
    }

    public void setTrackId(long trackId) {
        this.trackId = trackId;
    }

    public String getTrackName() {
        return trackName;
    }

    public void setTrackName(String trackName) {
        this.trackName = trackName;
    }

    public int getFrom() {
        return from;
    }

    public void setFrom(int from) {
        this.from = from;
    }

    public String getTrackUrl() {
        return trackUrl;
    }

    public void setTrackUrl(String trackUrl) {
        this.trackUrl = trackUrl;
    }

    public boolean isLive() {
        return isLive;
    }

    public void setLive(boolean live) {
        isLive = live;
    }

    public int getTrackPageIndex() {
        return trackPageIndex;
    }

    public void setTrackPageIndex(int trackPageIndex) {
        this.trackPageIndex = trackPageIndex;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getKey_id() {
        return key_id;
    }

    public void setKey_id(int key_id) {
        this.key_id = key_id;
    }

    public int getCurrentDuration() {
        return currentDuration;
    }

    public void setCurrentDuration(int currentDuration) {
        this.currentDuration = currentDuration;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public boolean isCanDownLoad() {
        return canDownLoad;
    }

    public void setCanDownLoad(boolean canDownLoad) {
        this.canDownLoad = canDownLoad;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getRadioLivingUrl() {
        return radioLivingUrl;
    }

    public void setRadioLivingUrl(String radioLivingUrl) {
        this.radioLivingUrl = radioLivingUrl;
    }
}
